import 'package:flutter/material.dart';

class Page2 extends StatelessWidget {
  const Page2({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Container(
        color: Colors.red,
        child: SafeArea(
          child: Container(
            color: Colors.red,
            width: double.infinity,
            height: double.infinity,
            child: const Text("我是页面2"),
          ),
        ),
      ),
    );
  }
}
